]> dgit.raspbian.org Git - gnome-shell.git/commit
Use clutter_actor_destroy in dispose, add _dispose where needed
authorColin Walters <walters@verbum.org>
Thu, 8 Oct 2009 18:53:46 +0000 (14:53 -0400)
committerColin Walters <walters@verbum.org>
Fri, 9 Oct 2009 20:19:33 +0000 (16:19 -0400)
commitab0460ad5926aef2cb802f201069109ce9fc2dd8
treee39b7ed012491be7ebe3932a84330514aad150a8
parenta27c29f4fc7794f25011724ea8dc95babdeaab44
Use clutter_actor_destroy in dispose, add _dispose where needed

ClutterGroup calls _destroy, but most of St was just calling _unparent.
This caused problems because the DESTROY signal was not emitted
for child elements after destroying a toplevel.  Also, in a GC'd
binding it would cause unpredictable lifetime of children.

Some St widgets simply didn't have _dispose at all; implement it.

Note because of the usage of the background_image in StButton,
we can't cleanly destroy it inside the StWidget.

https://bugzilla.gnome.org/show_bug.cgi?id=597845
src/st/st-bin.c
src/st/st-box-layout.c
src/st/st-entry.c
src/st/st-label.c
src/st/st-scroll-view.c
src/st/st-table.c
src/st/st-tooltip.c